Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update french translation #976

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update french translation #976

wants to merge 1 commit into from

Conversation

kleyeus
Copy link

@kleyeus kleyeus commented Mar 17, 2024

When i run fr.wttr.in nearly half of the weather conditions are still in english.
See attached file : JSON French.json

I tried another language es.wttr.in and everything is translated in spanish as expected.
See attached file : JSON Spanish.json

Comparing translation.txt, french translation txt's structure was different from spanish one so i copied spanish structure and put the old french translations in place.

When i run fr.wttr.in nearly half of the weather conditions are still in english.

I tried another language (es.wttr) and everything is translated in spanish as expected.

Comparing translation.txt, french translation txt's structure was different from other languages so i copied spanish structure and put the old french translations in place.
389 : Pluies orageuses modérées à fortes : Moderate or heavy rain with thunder
392 : Chutes de neige orageuses légères et éparses : Patchy light snow with thunder
395 : Chutes de neige orageuses modérées à fortes : Moderate or heavy snow with thunder
114: Temps clair: Clear
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

113: Temps clair: Clear

Code 114 not used in source code, 113 is the one (looking at other translation)

119: Nuageux: Cloudy
122: Couvert: Overcast
143: Brumeux: Mist
176: Pluies éparses possibles: Patchy rain possible
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

176: Pluies éparses à proximité: Patchy rain nearby  
176: Pluies éparses possibles: Patchy rain possible

The nearby variation also exists.

179: Chutes de neige éparses possibles: Patchy snow possible
182: Chutes éparses de neige fondue possibles: Patchy sleet possible
185: Bruines givrantes éparses possibles: Patchy freezing drizzle possible
200: Orages possibles: Thundery outbreaks possible
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

200: Orages à proximité: Thundery outbreaks in nearby 
200: Orages possibles: Thundery outbreaks possible

The nearby variation also exists.

365: Averses de neige fondue modérées à fortes: Moderate or heavy sleet showers
368: Averses de neige légères: Light snow showers
371: Averses de neige modérées à fortes: Moderate or heavy snow showers
386: Pluies orageuses légères et éparses: Patchy light rain with thunder
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

386: Pluies orageuses légères et éparses: Patchy light rain with thunder
386: Pluies orageuses légères et éparses à proximité: Patchy light rain in area with thunder 

The nearby variation also exists.

368: Averses de neige légères: Light snow showers
371: Averses de neige modérées à fortes: Moderate or heavy snow showers
386: Pluies orageuses légères et éparses: Patchy light rain with thunder
389: Pluies orageuses modérées à fortes: Moderate or heavy rain with thunder
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

389: Pluies orageuses modérées à fortes à proximité: Moderate or heavy rain in area with thunder 
389: Pluies orageuses modérées à fortes: Moderate or heavy rain with thunder

The nearby variation also exists.

386: Pluies orageuses légères et éparses: Patchy light rain with thunder
389: Pluies orageuses modérées à fortes: Moderate or heavy rain with thunder
392: Chutes de neige orageuses légères et éparses: Patchy light snow with thunder
395: Chutes de neige orageuses modérées à fortes: Moderate or heavy snow with thunder
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

395: Chutes de neige orageuses modérées à fortes à proximité: Moderate or heavy snow in area with thunder 
395: Chutes de neige orageuses modérées à fortes: Moderate or heavy snow with thunder

The nearby variation also exists.

@torgeir
Copy link

torgeir commented Sep 26, 2024

I believe there might be other issues causing a similar experience for more languages, it seems e.g. for nb (norwegian) that the correct translations do exist, but they are not used

> curl -s "https://nn.wttr.in/trondheim?format=j1" | jq '.current_condition[0].weatherCode'
"302"

Translation for 302 do exist for nb (norwegian), but still the result is in english

> curl -s "https://nb.wttr.in/trondheim?format=j1" | jq '.current_condition[0].lang_nb[0].value'
"Rain shower"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants